﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for HsbcCarMoreDetail
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class HsbcCarMoreDetail
    {
        private Int64 _cecarmoredetailid;
        private Int64 _cecarid;
        private Int64 _providercompanyid;
        private string _salutation;
        private string _familyname;
        private string _givenname;
        private string _race;
        private string _postalcode;
        private string _unitno;
        private string _homeno;
        private string _address;
        private string _nricno;
        private string _nationality;
        private string _mobileno;
        private string _homehoneno;
        private string _officephoneno;
        private string _faxno;
        private string _empname;
        //private bool _hasinsurancetransferred;
        private string _inscompanyname;
        //private string _insvechicleno;
        private string _ncdreason;
        private string _ncdotherreason;
        private string _vechicleno;
        private string _enginetype;
        private float _purchaseprice;
        private string _engineno;
        private string _chassisno;
        private bool _hasvechiclemodified;
        private string _vechiclemodifyreason;
        private bool _hashirepurchase;
        private string _hpcompanyname;
        //private bool _purposeofuse;
        private string _otherreason;
        private string _pamenttype;
        private string _bankname;
        private string _chequeno;
        private string _nameofthecard;
        private string _issuingbankname;
        private string _creditcardno;
        private string _cardexpirymonth;
        private string _cardexpiryyear;
        private string _cardtype;
        private string _quoterefno;

        //common field name
        private Int64 _refceuserid;
        private string _rowguid;
        private Int64 _vieweddetailid;
        private bool _status;
        private Int64 _carresultid;
        private DateTime _createddate;
        private DateTime _modifieddate;

        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;

        private Int32 _yearofobtained;
        private bool _haslicencerevoked;
        private Int32 _yearofrevoked;
        private string _revokedreason;
        private string _info10; //PDF fole path

        
        public HsbcCarMoreDetail()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CECarMoreDetailId
        {
            get { return _cecarmoredetailid; }
            set { _cecarmoredetailid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string Salutation
        {
            get { return _salutation; }
            set { _salutation = value; }
        }

        public string FamilyName
        {
            get { return _familyname; }
            set { _familyname = value; }
        }

        public string GivenName
        {
            get { return _givenname; }
            set { _givenname = value; }
        }

        public string Race
        {
            get { return _race; }
            set { _race = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string UnitNo
        {
            get { return _unitno; }
            set { _unitno = value; }
        }

        public string HomeNo
        {
            get { return _homeno; }
            set { _homeno = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string NRICNo
        {
            get { return _nricno; }
            set { _nricno = value; }
        }

        public string Nationality
        {
            get { return _nationality; }
            set { _nationality = value; }
        }

        public string MobileNo
        {
            get { return _mobileno; }
            set { _mobileno = value; }
        }

        public string HomePhoneNo
        {
            get { return _homehoneno; }
            set { _homehoneno = value; }
        }

        public string OfficePhoneNo
        {
            get { return _officephoneno; }
            set { _officephoneno = value; }
        }

        public string FaxNo
        {
            get { return _faxno; }
            set { _faxno = value; }
        }

        public string EmpName
        {
            get { return _empname; }
            set { _empname = value; }
        }

        //public bool HasInsuranceTransferred
        //{
        //    get { return _hasinsurancetransferred; }
        //    set { _hasinsurancetransferred = value; }
        //}

        public string InsCompanyName
        {
            get { return _inscompanyname; }
            set { _inscompanyname = value; }
        }

        //public string InsVechicleNo
        //{
        //    get { return _insvechicleno; }
        //    set { _insvechicleno = value; }
        //}

        public string NCDReason
        {
            get { return _ncdreason; }
            set { _ncdreason = value; }
        }

        public string NCDOtherReason
        {
            get { return _ncdotherreason; }
            set { _ncdotherreason = value; }
        }

        public string VechicleNo
        {
            get { return _vechicleno; }
            set { _vechicleno = value; }
        }

        public string EngineType
        {
            get { return _enginetype; }
            set { _enginetype = value; }
        }

        public float PurchasePrice
        {
            get { return _purchaseprice; }
            set { _purchaseprice = value; }
        }

        public string EngineNo
        {
            get { return _engineno; }
            set { _engineno = value; }
        }

        public string ChassisNo
        {
            get { return _chassisno; }
            set { _chassisno = value; }
        }

        public bool HasVechicleModified
        {
            get { return _hasvechiclemodified; }
            set { _hasvechiclemodified = value; }
        }

        public string VechicleModifyReason
        {
            get { return _vechiclemodifyreason; }
            set { _vechiclemodifyreason = value; }
        }

        public bool HasHirePurchase
        {
            get { return _hashirepurchase; }
            set { _hashirepurchase = value; }
        }

        public string HPCompanyName
        {
            get { return _hpcompanyname; }
            set { _hpcompanyname = value; }
        }

        //public bool PurposeofUse
        //{
        //    get { return _purposeofuse; }
        //    set { _purposeofuse = value; }
        //}

        public string OtherReason
        {
            get { return _otherreason; }
            set { _otherreason = value; }
        }

        public string PamentType
        {
            get { return _pamenttype; }
            set { _pamenttype = value; }
        }

        public string BankName
        {
            get { return _bankname; }
            set { _bankname = value; }
        }

        public string ChequeNo
        {
            get { return _chequeno; }
            set { _chequeno = value; }
        }

        public string NameoftheCard
        {
            get { return _nameofthecard; }
            set { _nameofthecard = value; }
        }

        public string IssuingBankName
        {
            get { return _issuingbankname; }
            set { _issuingbankname = value; }
        }

        public string CreditCardNo
        {
            get { return _creditcardno; }
            set { _creditcardno = value; }
        }

        public string CardExpiryMonth
        {
            get { return _cardexpirymonth; }
            set { _cardexpirymonth = value; }
        }

        public string CardExpiryYear
        {
            get { return _cardexpiryyear; }
            set { _cardexpiryyear = value; }
        }

        public string CardType
        {
            get { return _cardtype; }
            set { _cardtype = value; }
        }

        public string QuoteRefNo
        {
            get { return _quoterefno; }
            set { _quoterefno = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string RowGUID
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 CarResultId
        {
            get { return _carresultid; }
            set { _carresultid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public Int32 YearofObtained
        {
            get { return _yearofobtained; }
            set { _yearofobtained = value; }
        }

        public bool HasLicenceRevoked
        {
            get { return _haslicencerevoked; }
            set { _haslicencerevoked = value; }
        }

        public Int32 YearofRevoked
        {
            get { return _yearofrevoked; }
            set { _yearofrevoked = value; }
        }

        public string RevokedReason
        {
            get { return _revokedreason; }
            set { _revokedreason = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFields()
        {
            _cecarmoredetailid = 0;
            _cecarid = 0;
            _providercompanyid = 0;
            _salutation = "";
            _familyname = "";
            _givenname = "";
            _race = "";
            _postalcode = "";
            _unitno = "";
            _homeno = "";
            _address = "";
            _nricno = "";
            _nationality = "";
            _mobileno = "";
            _homehoneno = "";
            _officephoneno = "";
            _faxno = "";
            _empname = "";
            //_hasinsurancetransferred = false;
            _inscompanyname = "";
            //_insvechicleno = "";
            _ncdreason = "";
            _ncdotherreason = "";
            _vechicleno = "";
            _enginetype = "";
            _purchaseprice = 0.0f;
            _engineno = "";
            _chassisno = "";
            _hasvechiclemodified = false;
            _vechiclemodifyreason = "";
            _hashirepurchase = false;
            _hpcompanyname = "";
            //_purposeofuse = false;
            _otherreason = "";
            _pamenttype = "";
            _bankname = "";
            _chequeno = "";
            _nameofthecard = "";
            _issuingbankname = "";
            _creditcardno = "";
            _cardexpirymonth = "";
            _cardexpiryyear = "";
            _cardtype = "";
            _quoterefno = "";

            //common field name
            _refceuserid = 0;
            _rowguid = "";
            _vieweddetailid = 0;
            _status = false;
            _carresultid = 0;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";

            _yearofobtained = 0;
            _haslicencerevoked = false;
            _yearofrevoked = 0;
            _revokedreason = "";
            _info10 = "";
        }

    }
}